package me.zhengjie.modules.system.service.dto.operate;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class SalesPerformanceRespDTO {

    @ApiModelProperty(value = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "月度明细")
    private List<SalesPreformance> preformanceList;

    @ApiModelProperty(value = "销售明细")
    private List<SalesDetail> salesDetailList;




    @Data
    public static class SalesPreformance{
        @ApiModelProperty(value = "月份")
        private String month;
        @ApiModelProperty(value = "销售金额")
        private BigDecimal salesAmount;
    }

    @Data
    public static class SalesDetail{
        @ApiModelProperty(value = "商品名称")
        private String goodsName;
        @ApiModelProperty(value = "订单金额")
        private BigDecimal orderAmount;
        @ApiModelProperty(value = "佣金")
        private BigDecimal commission;
        @ApiModelProperty(value = "用户姓名")
        private String realName;
        @ApiModelProperty(value = "用户昵称")
        private String nickName;
        @ApiModelProperty(value = "用户手机号")
        private String mobile;
        @ApiModelProperty(value = "创建时间")
        private String createTime;
    }
}
